// Copyright (c)  YISH. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.

namespace NSQL.Expressions.Functions
{
   
    /// <summary>
    /// The LOG() function returns the natural logarithm of a specified number,
    /// or the logarithm of the number to the specified base.
    /// </summary>
    /// <remarks>
    /// Syntax:
    ///     LOG(number)
    /// Or
    ///     LOG(base, number)
    /// </remarks>
    public interface ILogFunction : INumericFunction
    {
        /// <summary>
        /// The base of number. Must be greater than 1
        /// </summary>
        INumericExpression Base { get; }
        
        /// <summary>
        /// Required. A number. Must be greater than 0
        /// </summary>
        INumericExpression Number { get; }
    }
}